package com.rongji.dfish.demo.constant;

/**
 * Demo常量池
 * @author DFish Team
 *
 */
public class DemoConstants {

	/**
	 * 首页模块
	 */
	public static final String MOD_INDEX = "index";
	/**
	 * 示例模块
	 */
	public static final String MOD_EXAMPLE = "exam";
	/**
	 * 体验模块
	 */
	public static final String MOD_EXPERIENCE = "exp";
	/**
	 * 文档模块
	 */
	public static final String MOD_DOCUMENT = "doc";
	/**
	 * 下载
	 */
	public static final String MOD_DOWNLOAD = "download";
	/**
	 * 社区模块
	 */
	public static final String MOD_COMMUNITY = "community";
	
	/**
	 * 顶级编号
	 */
	public static final String ID_ROOT = "0000000000000000";
	/**
	 * 树的根
	 */
	public static final String TREE_ROOT = "ROOT";
	
	/**
	 * 值[否]
	 */
	public static final String VALUE_NO = "0";
	/**
	 * 值[是]
	 */
	public static final String VALUE_YES = "1";
	/**
	 * 值[未知]
	 */
	public static final String VALUE_UNKNOWN = "unknown";
	
	/**
	 * 管理员
	 */
	public static final String USER_ADMIN = "0000000000000000";
	/**
	 * 游客
	 */
	public static final String USER_GUEST = "9999999999999999";
	
	/**
	 * 编辑状态
	 */
	public static final String STATUS_EDIT = "0";
	/**
	 * 定版状态
	 */
	public static final String STATUS_VERSION = "1";
	/**
	 * 删除状态
	 */
	public static final String STATUS_DELETE = "9";
	
	/**
	 * 所属用户目录编号前缀
	 */
	public static final String ITEM_USER = "U";
	/**
	 * 普通目录编号前缀
	 */
	public static final String ITEM_DIR = "D";
	/**
	 * 文件编号前缀
	 */
	public static final String ITEM_FILE = "F";
	
	/**
	 * 移动-置顶
	 */
	public static final String MOVE_TOP = "top";
	/**
	 * 移动-向上
	 */
	public static final String MOVE_UP = "up";
	/**
	 * 移动-向下
	 */
	public static final String MOVE_DOWN = "down";
	/**
	 * 移动-置底
	 */
	public static final String MOVE_BOTTOM = "bottom";
	
	/**
	 * 排序-名称
	 */
	public static final String ORDER_NAME = "n";
	/**
	 * 排序-时间
	 */
	public static final String ORDER_TIME = "t";
	
	/**
	 * 复制
	 */
	public static final String OPER_COPY = "C";
	/**
	 * 粘贴
	 */
	public static final String OPER_CUT = "X";
	/**
	 * 附件链接
	 */
	public static final String FILE_LINK_COMM = "COMM_POST";
	
	/**
	 * 版本发布
	 */
	public static final String COMM_BBFB="BBFB";
	
}
